package com.example.ytyproject.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

import com.example.ytyproject.entity.vo.PageInfoVo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.apache.commons.lang3.StringUtils;

/**
 * <p>
 * 商铺基本信息表
 * </p>
 *
 * @author author
 * @since 2024-04-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("cj_shops_base")
@ApiModel(value="ShopsBase对象", description="商铺基本信息表")
public class ShopsBase extends PageInfoVo implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.ID_WORKER)
    private String id;

    @ApiModelProperty(value = "商铺名称")
    private String shopName;

    @ApiModelProperty(value = "地址编码")
    private String areaCode;

    @ApiModelProperty(value = "地址")
    private String address;

    @ApiModelProperty(value = "商铺详细地址")
    private String detail;

    @ApiModelProperty(value = "负责人")
    private String operater;

    @ApiModelProperty(value = "联系电话")
    private String operatePhone;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createDate;

    @ApiModelProperty(value = "创建人")
    private String createBy;

    @ApiModelProperty(value = "商铺类型（餐饮   火炮  等其他）")
    private String shopType;

    @ApiModelProperty(value = "商铺状态（营业中 已停业）")
    private String shopStatus;

    @ApiModelProperty(value = "商铺状态中文")
    @TableField(exist = false)
    private String shopStatusName;

    private LocalDateTime updateDate;

    private String updateBy;

}
